
package com.insigma.business.qrcode.common._bff;


import com.insigma.business.qrcode.common.annotation.ApiServiceType;
import com.insigma.business.qrcode.common.dto.CommonFavoriteSearchRequest;
import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.pay.dto.CommonFavoriteInsertRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.welfare.dto.CommonFavoriteDTO;

import java.util.List;


public interface CommonFavoriteBFFProvider {

    
    @ApiServiceType(value = "soldier.ss.common.favorite.search", name = "查询数据列表", desc = "查询数据列表")
    BasePagingResponse<List<CommonFavoriteDTO>> searchCommonFavorite(final CommonFavoriteSearchRequest commonFavoriteSearchRequest);

   
   @ApiServiceType(value = "all.ss.common.favorite.view", name = "得到合法的非逻辑删除对象", desc = "得到合法的非逻辑删除对象")
   BaseResponse<CommonFavoriteDTO> getCommonFavorite(final BaseGetRequest baseGetRequest);

    
    @ApiServiceType(value = "soldier.ss.common.favorite.add", name = "收藏商家", desc = "收藏商家", opsLog = "收藏")
    BaseResponse<String> insertMerchantProvider(final CommonFavoriteInsertRequest commonFavoriteInsertRequest);

    @ApiServiceType(value = "soldier.ss.common.favorite.delete", name = "取消收藏", desc = "取消收藏商家", opsLog = "收藏")
    BaseResponse<Integer> deleteCommonFavorite(final BaseDeleteRequest deleteRequest);

}
